import { Boolean, Cover, Desc, DisplayOrder, Entity, PrimaryUuid, RichText, Title } from "@sker/core";


@Entity({ name: 'gym_service' })
export class GymService {
    @PrimaryUuid()
    id: string;

    @Title({ comment: '健身项目' })
    title!: string;

    @Desc({ comment: '项目简介', default: '' })
    desc!: string;

    @RichText({ comment: '项目描述', default: '' })
    content!: string;

    @Cover()
    icon: string;

    @Cover()
    cover: string;

    @Title({ comment: '英文名', default: '' })
    name!: string;

    @DisplayOrder({ comment: '顺序', default: 0 })
    displayorder: number;

    @Boolean({ default: true })
    status!: boolean;
}
